package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.entity.Goods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName: DamageListGoodsDao
 * Description:
 * Date: 2022/1/16 18:27
 *
 * @version:
 * @since JDK 1.8
 */
@Repository
public interface DamageListGoodsDao {

    void saveDamageList(@Param("damageList") DamageList damageList);

    void saveDamageGoods(@Param("damageListGoods") DamageListGoods damageListGoods);

    List<DamageList> getDamageListGoods(@Param("sTime")String sTime, @Param("eTime")String eTime);

    List<DamageListGoods> getGoodsList(@Param("damageListId")Integer damageListId);

    DamageList selectByDamageNumber(@Param("damageNumber")String damageNumber);
}
